package com.lipaluma.xml.validator;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import com.lipaluma.field.validator.ValidatorFactory;

@XmlRootElement(name=XmlNotEmptyValidator.NOT_EMPTY)
@XmlAccessorType(XmlAccessType.FIELD)
public class XmlNotEmptyValidator implements XmlValidator {
	public static final String NOT_EMPTY = "not-empty";

	@Override
	public String getFunctionValidation() {
		return ValidatorFactory.VALIDATION_NOT_EMPTY_FUNCTION;
	}
	
}
